/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;
import DAO.*;
import DTO.NhanVien;
import java.sql.ResultSet;

/**
 *
 * @author Phong
 */
public class NhanVienBUS {
    public static ResultSet  TimKiemTatCa() {
        return NhanVienDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(String MaNV)
    {
        return NhanVienDAO.KiemTraTonTai(MaNV);
    }
     public static boolean Them(NhanVien n) {
         return NhanVienDAO.Them(n);
     }
    public static boolean Xoa(String id) {
         return NhanVienDAO.Xoa(id);
     }
     public static boolean Update(NhanVien NV,String id){
          return NhanVienDAO.Update(NV,id);
     }
}
